/**
 */
package com.jivesoftware.forum;

import java.util.Map;

/**
 * @author Martin
 * UserInfoCenter is used to get you user's information.
 */
public interface UserInfoCenter {
	
	String NAME = "name";
	
	String NAME_VISIABLE = "name.visiable";
	
	String EMAIL = "email";

	String EMAIL_VISIABLE = "email.visiable";

	String ID = "id";
	
	String USER_NAME = "userName";
	
	String TIME_ZONE = "timeZone";

	Map<String, String> getUerInfo(String user);
	
	Map<String, String> getGroupInfo(String group);
	
	String[] getGroupsByUser(String user);
	
	String[] getUsersByGroup(String group);
}
